package com.agile.major.service;

import com.agile.major.domain.LastGraduateEmployment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Service Interface for managing LastGraduateEmployment.
 */
public interface LastGraduateEmploymentService {

    /**
     * Save a lastGraduateEmployment.
     *
     * @param lastGraduateEmployment the entity to save
     * @return the persisted entity
     */
    LastGraduateEmployment save(LastGraduateEmployment lastGraduateEmployment);

    /**
     *  Get all the lastGraduateEmployments.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<LastGraduateEmployment> findAll(Pageable pageable);

    /**
     *  Get the "id" lastGraduateEmployment.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    LastGraduateEmployment findOne(Long id);

    /**
     *  Delete the "id" lastGraduateEmployment.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);
    List<LastGraduateEmployment> getLastGraduateEmploymentByMajorAndYear(Long baseMajorId, String year);

}
